package com.hzb.springcloud.alibaba.service;

import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * description: AccountService <br>
 * date: 2020/8/19 17:47 <br>
 * author: huangZB <br>
 * version: 1.0 <br>
 */
public interface AccountService {

    /**
     * 扣减账户余额
     */
    void decrease(@RequestParam("userId") Long userId, @RequestParam("money") BigDecimal money);
}
